<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="language" content="en" />
<!-- blueprint CSS framework -->
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->theme->baseUrl; ?>/styles/screen.css"
	media="screen, projection" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->theme->baseUrl; ?>/styles/print.css"
	media="print" />
<!--[if lt IE 8]>
	<link rel="stylesheet" type="text/css" href="<?php echo Yii::app()->request->baseUrl; ?>/css/ie.css" media="screen, projection" />
	<![endif]-->

<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->theme->baseUrl; ?>/styles/main.css" />
<link rel="stylesheet" type="text/css"
	href="<?php echo Yii::app()->theme->baseUrl; ?>/styles/form.css" />

<title><?php echo CHtml::encode($this->pageTitle); ?></title>
</head>

<body>

	<div class="container" id="page">

		<div id="header">
			<div id="logo">
				<img src="<?php echo Yii::app()->theme->baseUrl;?>/images/Logo.png"
					width="180" height="90" style="float: left" />
					<?php if(SHOW_AD):?>
				<div style="float: left">
					<script> var chanet_u=""; var chanet_e=""; </script>
					<script
						src='http://file.chanet.com.cn/html/js/position/easyad_101005.js'></script>
				</div>
				<?php endif;?>
			</div>
			<div style="clear: both; margin-top: 20px;">&nbsp;</div>
		</div>
		<!-- header -->

		<div id="mainmenu">
		<?php $this->widget('zii.widgets.CMenu',array(
			'items'=>array(
		array('label'=>'首页', 'url'=>array('/site/index')),
		array('label'=>'星座星运', 'url'=>array('/astor/index')),
		array('label'=>'星座围脖', 'url'=>array('/microblog/index')),
		),
		)); ?>
		</div>
		<!-- mainmenu -->
		<?php if(isset($this->breadcrumbs)):?>
		<?php $this->widget('zii.widgets.CBreadcrumbs', array(
			'links'=>$this->breadcrumbs,
		)); ?>
		<!-- breadcrumbs -->
		<?php endif?>

		<?php echo $content; ?>

		<div id="footer">
			Copyright &copy;
			<?php echo date('Y'); ?>
			by 游离氧.<br /> All Rights Reserved.<br />

		</div>
		<!-- footer -->

	</div>
	<!-- page -->
	<?php if(LOAD_COUNT):?>
	<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-18493526-3']);
  _gaq.push(['_setDomainName', '.oliyo.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
	<script type="text/javascript"
		src="http://js.tongji.linezing.com/2070663/tongji.js"></script>
	<noscript>
		<a href="http://www.linezing.com"><img
			src="http://img.tongji.linezing.com/2070663/tongji.gif" /> </a>
	</noscript>
	<?php endif;?>
</body>
</html>
